<%-- 
    Document   : busqueda
    Created on : 26-may-2012, 15:50:41
    Author     : MAXI
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
                <%-- start web service invocation --%><hr/>
        <%-- start web service invocation --%><hr/>
    <%
    try {
	sw.BuscadorWS_Service service = new sw.BuscadorWS_Service();
	sw.BuscadorWS port = service.getBuscadorWSPort();
	 // TODO initialize WS operation arguments here
	java.lang.String stringDeBusqueda = request.getParameter("busqueda");
	// TODO process result here
	java.lang.String result = port.iniciarBusqueda(stringDeBusqueda);
	out.println("Result = "+result);
    } catch (Exception ex) {
	// TODO handle custom exceptions here
    }
    %>
    <%-- end web service invocation --%><hr/>

    <%-- end web service invocation --%><hr/>

    </body>
</html>
